﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AFT2
{
    [Serializable]
    public class WifiInformation
    {
        [Serializable]
        public class WifiHistory
        {
            public string ssid { get; set; }
            public int priority { get; set; }
            public string psk { get; set; }
            public string proto { get; set; }
            public string key_mgmt { get; set; }
            public string auth_alg { get; set; }

            public WifiHistory( string ssid, int priority, string psk, string proto, string key_mgmt, string auth_alg )
            {
                this.ssid = ssid;
                this.priority = priority;
                this.psk = psk;
                this.proto = proto;
                this.key_mgmt = key_mgmt;
                this.auth_alg = auth_alg;
            }
        }

        [Serializable]
        public class LastAp
        {
            public string ctrl_interface { get; set; }
            public string ssid { get; set; }
            public string mac { get; set; }
            public string manufacturer { get; set; }
            public string model_name { get; set; }
            public string device_type { get; set; }

            public LastAp()
            {
 
            }

            public LastAp(string ctrl_interface, string ssid, string mac, string manufacturer, string model_name, string device_type)
            {
                this.ctrl_interface = ctrl_interface;
                this.ssid = ssid;
                this.mac = mac;
                this.manufacturer = manufacturer;
                this.model_name = model_name;
                this.device_type = device_type;
            }

        }

        public List<WifiHistory> wifiHistoryList;
        public LastAp lastAp;
        public List<LastAp> wifiLastAP;
        public WifiInformation()
        {
            wifiHistoryList = new List<WifiHistory>();
            lastAp = new LastAp();
            wifiLastAP = new List<LastAp>();

        }

    }

}
